package com.chen.pojo;

public class Court {
    private Integer courtId; //球场id
    private String courtName; //球场名称
    private String courtSize; //球场大小
    private Integer courtType; //球场类型
    private Integer courtStatus; //球场状态
    private Integer courtNumber; //球场容纳人数
    private String courtTime; //球场开放时间
    private String courtAddress; //球场地址
    private String courtPhoto; //球场类型名称

    private String typeName; //类型名称

    private String courtStatusStr;//状态名称
    private Integer timeId; //时间端id
    private String time; //时间段
    public Court() {
    }

    public Court(Integer courtId, String courtName, String courtSize, Integer courtType, Integer courtStatus, Integer courtNumber, String courtTime, String courtAddress, String courtPhoto, String typeName, String courtStatusStr, Integer timeId, String time) {
        this.courtId = courtId;
        this.courtName = courtName;
        this.courtSize = courtSize;
        this.courtType = courtType;
        this.courtStatus = courtStatus;
        this.courtNumber = courtNumber;
        this.courtTime = courtTime;
        this.courtAddress = courtAddress;
        this.courtPhoto = courtPhoto;
        this.typeName = typeName;
        this.courtStatusStr = courtStatusStr;
        this.timeId = timeId;
        this.time = time;
    }

    public Integer getCourtId() {
        return courtId;
    }

    public void setCourtId(Integer courtId) {
        this.courtId = courtId;
    }

    public String getCourtName() {
        return courtName;
    }

    public void setCourtName(String courtName) {
        this.courtName = courtName;
    }

    public String getCourtSize() {
        return courtSize;
    }

    public void setCourtSize(String courtSize) {
        this.courtSize = courtSize;
    }

    public Integer getCourtType() {
        return courtType;
    }

    public void setCourtType(Integer courtType) {
        this.courtType = courtType;
    }

    public Integer getCourtStatus() {
        return courtStatus;
    }

    public void setCourtStatus(Integer courtStatus) {
        this.courtStatus = courtStatus;
    }

    public Integer getCourtNumber() {
        return courtNumber;
    }

    public void setCourtNumber(Integer courtNumber) {
        this.courtNumber = courtNumber;
    }

    public String getCourtTime() {
        return courtTime;
    }

    public void setCourtTime(String courtTime) {
        this.courtTime = courtTime;
    }

    public String getCourtAddress() {
        return courtAddress;
    }

    public void setCourtAddress(String courtAddress) {
        this.courtAddress = courtAddress;
    }

    public String getCourtPhoto() {
        return courtPhoto;
    }

    public void setCourtPhoto(String courtPhoto) {
        this.courtPhoto = courtPhoto;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCourtStatusStr() {
        return courtStatusStr;
    }

    public void setCourtStatusStr(String courtStatusStr) {
        this.courtStatusStr = courtStatusStr;
    }

    public Integer getTimeId() {
        return timeId;
    }

    public void setTimeId(Integer timeId) {
        this.timeId = timeId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Court{" +
                "courtId=" + courtId +
                ", courtName='" + courtName + '\'' +
                ", courtSize='" + courtSize + '\'' +
                ", courtType=" + courtType +
                ", courtStatus=" + courtStatus +
                ", courtNumber=" + courtNumber +
                ", courtTime='" + courtTime + '\'' +
                ", courtAddress='" + courtAddress + '\'' +
                ", courtPhoto='" + courtPhoto + '\'' +
                ", typeName='" + typeName + '\'' +
                ", courtStatusStr='" + courtStatusStr + '\'' +
                ", timeId=" + timeId +
                ", time='" + time + '\'' +
                '}';
    }
}
